package com.ruoyi.safety.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加

import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测点基本信息对象 safety_point_info
 *
 * @author ruoyi
 * @date 2024-10-30
 */
@Data //添加
@TableName("safety_point_info") //添加
public class SafetyPointInfo extends BaseEntity implements Serializable //修改
{
    private static final long serialVersionUID = 1L;

    /**
     * 测点编码
     */
    //添加
    @TableId(value = "id", type = IdType.AUTO)
    private String pointCode;

    /**
     * 系统编码
     */
    @Excel(name = "系统编码")
    private String systemCode;

    /**
     * 分站编码
     */
    @Excel(name = "分站编码")
    private String substationCode;

    /**
     * 传感器类型
     */
    @Excel(name = "传感器类型")
    private String sensorType;

    /**
     * 测点数值类型
     */
    @Excel(name = "测点数值类型")
    private String pointValueType;

    /**
     * 测点数值单位
     */
    @Excel(name = "测点数值单位")
    private String pointValueUnit;

    /**
     * 高量程
     */
    @Excel(name = "高量程")
    private String highRange;

    /**
     * 低量程
     */
    @Excel(name = "低量程")
    private String lowRange;

    /**
     * 上限报警门限
     */
    @Excel(name = "上限报警门限")
    private String upperAlarmLimit;

    /**
     * 上限解报门限
     */
    @Excel(name = "上限解报门限")
    private String upperRemoveLimit;

    /**
     * 下限报警门限
     */
    @Excel(name = "下限报警门限")
    private String lowerAlarmLimit;

    /**
     * 下限解报门限
     */
    @Excel(name = "下限解报门限")
    private String lowerRemoveLimit;

    /**
     * 上限断电门限
     */
    @Excel(name = "上限断电门限")
    private String upperInterruptLimit;

    /**
     * 下限断电门限
     */
    @Excel(name = "下限断电门限")
    private String lowerInterruptLimit;

    /**
     * 下限复电门限
     */
    @Excel(name = "下限复电门限")
    private String lowerReplyLimit;

    /**
     * 上限复电门限
     */
    @Excel(name = "上限复电门限")
    private String upperReplyLimit;

    /**
     * 开描述
     */
    @Excel(name = "开描述")
    private String openDescription;

    /**
     * 停描述
     */
    @Excel(name = "停描述")
    private String closeDescription;

    /**
     * 设备监测位置
     */
    @Excel(name = "设备监测位置")
    private String equipmentMonitorLocation;

    /**
     * 位置x
     */
    @Excel(name = "位置x")
    private String coorX;

    /**
     * y
     */
    @Excel(name = "y")
    private String coorY;

    /**
     * z
     */
    @Excel(name = "z")
    private String coorZ;

    /**
     * 传感器关联关系
     */
    @Excel(name = "传感器关联关系")
    private String sensorRelationship;

    /**
     * 数据时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend1;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend2;

}

